package com.wuzheng.wisgo.sanitation.cloud.constant;

/**
 * @author：hibon
 * @date：Created in 2019/10/15
 * @description：子工程内部共享固定错误信息
 * @modified By：
 * @version: 1.0
 */
public class ErrorConst {

    /**
     * 用户
     */
    public static class User {

        public static final String TOKEN_LOST = "缺少token";

        public static final String NAME_OR_PWD_ERROR = "用户名或密码错误";
    }


    /**
     * 车辆
     */
    public static class Vehicle {

        public static final String NOT_EXIST = "车辆信息不存在";
    }


    /**
     * 通用错误
     */
    public static class Common {

        public static final String ARGUMENT_NOT_NULL = "参数不能为空";

        public static final String REMOVE_FAILED = "删除失败";

        public static final String REMOVE_RELATION = "删除失败，请解除占用关系";

        public static final String QUERY_RESULT_NOT_EXIST = "查询结果不存在";

        public static final String UPLOAD_FAILED = "上传失败";
    }
}
